package com.qire.manhua.model.vo;

public class MessagePushStateVO {

    public PushStateVO kaiguan;

    public class PushStateVO{
        private int s_main;          //: 主开关0-关闭，1-开启,
        private int s_comic_update;  //: 漫画更新0-关闭，1-开启,
        private int s_xb_recomm;     //: 小编推荐0-关闭，1-开启
        private int s_discuss;       //: 评论信息0-关闭，1-开启；

        public boolean messagePushEnable() {
            return s_main == 1;
        }
        public boolean comicUpdatePushEnable() {
            return s_comic_update == 1;
        }
        public boolean recommendPushEnable() {
            return s_xb_recomm == 1;
        }
        public boolean commentPushEnable() {
            return s_discuss == 1;
        }
    }

}
